package com.app.bimo.module_bookrack;

import android.app.Application;


import com.app.bimo.commonbusiness.base.IModuleInit;
import com.app.bimo.commonbusiness.network.RetrofitServiceManager;

import timber.log.Timber;

/**
 * Created by goldze on 2018/6/21 0021.
 * 基础库自身初始化操作
 */

public class BaseModuleInit implements IModuleInit {
    @Override
    public boolean onInitAhead(Application application) {
//        RetrofitServiceManager.getInstance().addRetrofitService(BuildConfig.APPLICATION_ID,BuildConfig.HOST);
        RetrofitServiceManager.getInstance().addRetrofitService(application,BuildConfig.APPLICATION_ID, BuildConfig.HOST);
        Timber.e("Home初始化 -- onInitAhead");
        return false;
    }

    @Override
    public boolean onInitLow(Application application) {
        Timber.e("Home初始化 -- onInitLow");
        return false;
    }
}
